import { get, post } from '@/utils/request'

// 居民列表
export const list = (params) => get('/api/repairs/list', params)

// 删除
export const del = (params) => get('/api/repairs/delete', params)

// 添加
export const add = (data) => post('/api/repairs/add', data)

// 维修类型列表
export const typeList = (params) => get('/api/repairstype/list', params)

// 维修状态列表
export const stateList = (params) => get('/api/repairstate/list', params)